package com.hoo.entity.equipment;

import java.util.Date;

import javax.persistence.Entity;

import org.apache.ibatis.type.Alias;

import com.hoo.common.constant.Constant;
import com.hoo.util.DateUtils;

@Entity
@Alias("venue")
public class Venue {
	private int id;
	private String venueName;
	private String venueAlias;
	private String venueDescription;
	private int status;
	private Date addTime;
	private Date updateTime;
	private String addTimeStr;
	
	
	public String getAddTimeStr() {
		return addTimeStr;
	}
	public void setAddTimeStr(String addTimeStr) {
		this.addTimeStr = addTimeStr;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
		this.addTimeStr = addTime !=null ?DateUtils.getDateString(addTime, Constant.DATE_FORMAT_LONG_ONE):"";
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getVenueName() {
		return venueName;
	}
	public void setVenueName(String venueName) {
		this.venueName = venueName;
	}
	public String getVenueAlias() {
		return venueAlias;
	}
	public void setVenueAlias(String venueAlias) {
		this.venueAlias = venueAlias;
	}
	public String getVenueDescription() {
		return venueDescription;
	}
	public void setVenueDescription(String venueDescription) {
		this.venueDescription = venueDescription;
	}
	
}
